package mini.ideashare.cms.model.qc;

import java.util.Date;

/**
 * @Author lixiang
 * @CreateTime 2018/10/27
 **/
public class CategoryQC  extends BaseQC{
    //自增ID
    private Long id;
    //类目级别
    private Integer level;
    //类目名称
    private String name;
    //上级类目
    private Long parentId;
    //创建时间
    private Date createTime;

    public Long getId() {
        return id;
    }

    public CategoryQC setId(Long id) {
        this.id = id;
        return this;
    }

    public Integer getLevel() {
        return level;
    }

    public CategoryQC setLevel(Integer level) {
        this.level = level;
        return this;
    }

    public String getName() {
        return name;
    }

    public CategoryQC setName(String name) {
        this.name = name;
        return this;
    }

    public Long getParentId() {
        return parentId;
    }

    public CategoryQC setParentId(Long parentId) {
        this.parentId = parentId;
        return this;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public CategoryQC setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }
}
